package com.example.itmanager.entity;

import java.util.List;

public class LoginResponse {

    private MetaDTO meta;
    private DataDTO data;


    public static class MetaDTO {
        private Integer code;
        private String msg;
    }

   static class DataDTO {
        private DataDTO.UserDTO user;
        public static class UserDTO {
            private Integer userId;
            private String username;
            private String password;
            private Long createDate;
            private Integer status;
            private String roles;
            private String realName;
            private String studentId;
            private Integer groupId;
            private String email;
            private Object mobile;
            private Object qq;
            private Integer gender;
            private List<AuthoritiesDTO> authorities;



            private Boolean enabled;
            private Boolean accountNonExpired;
            private Boolean accountNonLocked;
            private Boolean credentialsNonExpired;

            public static class AuthoritiesDTO {
                private String authority;
            }
        }
    }
}
